package model;

import java.awt.Color;



public abstract class MapObject {
	
	private Location location;
	private Color color;
	
	public MapObject(){
		
	}
		
	public MapObject(Location location){
		this.location = location;
	}
	
	public Color getColor() {
		return color;
	}

	public void setColor(Color color) {
		this.color = color;
	}

	public Location getLocation() {
		return location;
	}
	public void setLocation(Location newlocation) {
		this.location = newlocation;
		
	}
	public abstract boolean isMovable();
	
	public abstract boolean isAlive();

	
	
}
